﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class BXAIComputeDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class BXAIComputeRequestDto
    {
        /// <summary>
        /// 描述 : 申请单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "targetedno")]
        public string dailyno { get; set; }
        

        public List<BXAIComputeDetailsRequestDto> rows { get; set; }

    }

    /// <summary>
    /// 条码生成明细表
    /// </summary>
    public class BXAIComputeDetailsRequestDto
    {
      

        /// <summary>
        /// 描述 : 计划流水号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ccode")]
        public string ccode { get; set; }


        /// <summary>
        /// 描述 : 客户名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_name")]
        public string customer_name { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialcode")]
        public string materialcode { get; set; }

        /// <summary>
        /// 描述 : 标准托数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_qty")]
        public double? barcode_qty { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "materialamount")]
        public double? materialamount { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class BXAIComputeResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public string code { get; set; }

        /// <summary>
        /// 描述 : 返回错误明细 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public string status { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<BXAIComputeResponseData> data { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data2")]

        public List<BXAIComputeResponseData2> data2 { get; set; }
        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data3")]

        public List<BXAIComputeResponseData3> data3 { get; set; }

    }
    public class BXAIComputeResponseData
    {
        /// <summary>
        /// 描述 : 计划
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "plan_no")]
        public string plan_no { get; set; }
        /// <summary>
        /// 描述 : 托条码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }


        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }


        /// <summary>
        /// 描述 : 托备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "remark")]
        public string remark { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_thickness")]
        public double? average_thickness { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistance")]
        public double? average_resistance { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistancefocus")]
        public double? average_resistancefocus { get; set; }
        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double? material_amount { get; set; }


        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_create_time")]
        public DateTime? barcode_create_time { get; set; }

    }

    public class BXAIComputeResponseData2
    {
      
        /// <summary>
        /// 描述 : 托条码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }


        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }


        /// <summary>
        /// 描述 : 托备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "remark")]
        public string remark { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_thickness")]
        public double? average_thickness { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistance")]
        public double? average_resistance { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistancefocus")]
        public double? average_resistancefocus { get; set; }
        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double? material_amount { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_create_time")]
        public DateTime? barcode_create_time { get; set; }
    }
    public class BXAIComputeResponseData3
    {

        /// <summary>
        /// 描述 : 托条码
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_no")]
        public string barcode_no { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }


        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }


        /// <summary>
        /// 描述 : 托备注 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "remark")]
        public string remark { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_thickness")]
        public double? average_thickness { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistance")]
        public double? average_resistance { get; set; }

        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "average_resistancefocus")]
        public double? average_resistancefocus { get; set; }
        /// <summary>
        /// 描述 : 客户PO 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public double? material_amount { get; set; }

        /// <summary>
        /// 描述 : 订单ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "barcode_create_time")]
        public DateTime? barcode_create_time { get; set; }
    }
}
